//
//  PersonalFileModel.m
//  掌上宏力
//
//  Created by admin on 2017/4/26.
//  Copyright © 2017年 admin. All rights reserved.
//

#import "PersonalFileModel.h"

@implementation PersonalFileModel

+(PersonalFileModel *)personalModelWithDictionary:(NSDictionary *)dic{
    PersonalFileModel *model = [[PersonalFileModel alloc] init];
    model.userId = [NSString stringWithFormat:@"%@",dic[@"ygbh"]];
    model.userName = dic[@"ygxm"];
//    model.icon = dic[@"zp"];
    model.spell = dic[@"pym"];
    model.sex = dic[@"xb"];
    model.marriage = dic[@"hf"];
    model.cardId = dic[@"sfzh"];
    model.address = dic[@"txdz"];
    model.phone = dic[@"sjhm"];
    model.E_Card = dic[@"medicalcard"];
    model.department = dic[@"deptname"];
    model.job = dic[@"headshipname"];
    model.degree = dic[@"xl"];
    model.nativePlace = dic[@"ygjg"];
    model.university = dic[@"byyx"];
 
    return model;
}
@end
